import { request } from '@pkg/request/src';

export enum Api {
  page = '/busConfig/page',
  list = '/busConfig/list',
  get = '/busConfig/get',
  add = '/busConfig/save',
  update = '/busConfig/update',
  remove = '/busConfig/remove',
  setState = '/busConfig/setState',
}

export const get = (id: string) => request.get({ url: Api.get, params: { id: id } }, { errorMessageMode: 'none' });
